import { sum } from "./utils/math";
import _ from "lodash-es";

import "./css/base.css";
import "./css/style.less";

import { dateFormat } from "./ts/format";

import logo from "./image/logo.svg";

import Vue from "vue";
import VueApp from "./vue/App.vue";

import React from "react";
import ReactDOM from "react-dom";
import ReactApp from "./react/App";

console.log("Hello Vite");
console.log(sum(20, 30));
console.log(_.join(["abc", "cde"]));
console.log(dateFormat("abc"));

const imgEl = document.createElement("img");
imgEl.src = logo;
document.body.appendChild(imgEl);

new Vue({
  render: (h) => h(VueApp),
}).$mount("#app");

ReactDOM.render(<ReactApp />, document.getElementById("root"));
